import { request } from 'umi';

const stuList = () => {
  return request('/classes/student');
};

const deleteStudent = (objectId: string) => {
  return request(`/classes/student/${objectId}`, {
    method: 'Delete',
  });
};
export { stuList, deleteStudent };
